@import "tailwindcss";

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
  }
  
  h1 {
    text-align: center;
    color: #333;
    margin-top: 20px;
  }
  
  .container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }
  
  button {
    margin: 5px;
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  button:hover {
    background-color: #0056b3;
  }
  
  input[type="text"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
  }
  
  input[type="text"]:focus {
    border-color: #007bff;
    outline: none;
  }
  
  .todo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
  }
  
  .todo-item:hover {
    background-color: #f9f9f9;
  }
  
  .todo-item.completed {
    text-decoration: line-through;
    color: #888;
  }
  
  .todo-item button {
    background-color: #dc3545;
    transition: background-color 0.3s ease;
  }
  
  .todo-item button:hover {
    background-color: #c82333;
  }
  
  .todo-filter {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .todo-filter button {
    margin: 0 10px;
  }